package ModelLayer;

public class Headlights extends Product 
{
	private String lightsType;
	
	//Constructor which catches the superclass
	public Headlights()
	{
		super(0, 0, "", 0, 0, 0, "", "", "", "", 0, 0, 0);
	}
	
	//Constructor which builds the object
	public Headlights(int productNumber, int serialNumber, String productName, double purchasePrice,	double salesPrice, double rentPrice, String countryOfOrigin, String fabricant, String description, String carModel, int modelYear, int minStock, int maxStock, String lightsType)
	{
		super(productNumber, serialNumber, productName, purchasePrice, salesPrice, rentPrice, countryOfOrigin, fabricant, description, carModel, modelYear, minStock, maxStock);
	
		this.lightsType = lightsType;
	}

	//Returns the lights type
	public String getLightsType() 
	{
		return lightsType;
	}

	//Sets the light type
	public void setLightsType(String lightsType)
	{
		this.lightsType = lightsType;
	}
	
	//Returns the product type
	public String getProductType()
	{
		return "Headlight";
	}

	
}
